package net.hn.hnms.biz.activiti.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 智呈物联 pansx
 * 2021/9/29 10:31
 * 1.0 version
 */
@ApiModel(value = "个人任务")
@Data
public class TaskDto {
    @ApiModelProperty(value = "任务id")
    private String id;
    @ApiModelProperty(value = "任务名称")
    private String name;
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;
    @ApiModelProperty(value = "执行id")
    private String executionId;
    @ApiModelProperty(value = "状态 是否被挂起")
    private Boolean suspensionState;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "任务创建时间")
    private Date createTime;
    @ApiModelProperty(value = "业务id")
    private String businessKey;
    @ApiModelProperty(value = "流程实例名称")
    private String processInstanceName;

    @ApiModelProperty(value = "发起人")
    private String startUser;
}
